<?php
//print_r($_POST);
//print_r($_FILES);


/*
Array ( [a] => 1 ) Array ( [file] => Array ( [name] => big_cats085.jpg [type] => image/jpeg [tmp_name] => C:\Windows\Temp\php61CD.tmp [error] => 0 [size] => 481978 ) )
*/

echo json_encode([
	'code'=>0,
	'msg'=>'success',
	'url'=>'http://a.com/uploads/1.jpg',
]);